/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chulbulpandeyproblem;

import java.util.Arrays;

/**
 *
 * @author nikhil
 */
public class ChulbulPandeyProblem {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int policeCount = 10;
        int stationCount = 2;
        int[] policeCapability = {1, 1, 2, 1, 1, 1, 1, 1, 1, 6} ;
        Arrays.sort(policeCapability);
        UserMainCode.BalanceCapability(policeCount, stationCount, policeCapability);
        for(int i : UserMainCode.output1)
            System.out.println(i);
    }
}
